package com.retail.core.exception.custom;

/**
 * 查询数据异常
 *
 * @author Administrator
 */
public class ListCountException extends RuntimeException {

    private Integer code;
    private String  message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ListCountException(Integer code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }

    public ListCountException() {
    }

    public ListCountException(String message) {
        super(message);
    }

    public ListCountException(String message, Throwable cause) {
        super(message, cause);
    }

    public ListCountException(Throwable cause) {
        super(cause);
    }

    public ListCountException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
